/**
 * 页面外层封装
 * @author: tongsitong
 * @param: minWidth: string; 最小宽度
 * @param: narrow: boolean; 是否窄边 paddingleft=16
 * @param: scrollY: boolean; 是否垂直滚动-定位需要
 * 
 */
import styled from "styled-components";

export const PageWrapper = styled.div`
  min-width: ${(props) => (props.minWidth ? props.minWidth : "1034px")};
  padding: ${(props) =>
    props.narrow ? "16px 16px 32px 16px" : "16px 32px 32px"};
  height: 100%;
  background: #fff;
  /* overflow-x: auto; */
  overflow-y:overlay;
  position:${(props) =>
    props.scrollY ? "relative" : "static"};
`;
